package com.uinnova.product.eam.model.cj.vo;

import com.binary.framework.bean.annotation.Comment;
import com.uinnova.product.eam.model.enums.AssetType;
import com.uinnova.project.base.diagram.comm.diagram.ESDiagramShareRecordResult;
import com.uinnova.project.base.diagram.comm.model.ESDiagram;
import com.uino.bean.permission.base.SysUser;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: Lc
 * @create: 2022-02-24 17:20
 */
@Data
public class DiagramPlanVO implements Serializable {

    @Comment("制品")
    private ESDiagram diagram;

    @Comment("视图作者信息")
    private SysUser creator;

    @Comment("视图分享记录")
    @Deprecated
    private List<ESDiagramShareRecordResult> shareRecords;

    @Comment("方案")
    private PlanDesignResponseVO planDesignInstance;

    @Comment("类型 1:制品 2:方案")
    @Deprecated
    private Integer type;

    @Comment("用作前端区分资源类型")
    private AssetType assetType;

    @Comment("制品类型分类")
    private Integer artifactType;

    @Comment("是否分享标识")
    private boolean share = false;

    @Comment("修改时间")
    private Long modifyTime;

    @Comment("否已发布：0：未发布，1：已发布，2：审批中，3：审核中可编辑")
    private int releaseStatus;

    @Comment("附加的ciId")
    private long attachCiId;

    @Comment("附加的ciCode")
    private String attachCiCode;

    @Comment("是否被关注：0未关注 1关注")
    private Integer isAttention = 0;

    @Comment("是否需要审批")
    private Boolean isApprove = Boolean.FALSE;

    @Comment("是否是模型下的视图")
    private Boolean modelDiagram = Boolean.FALSE;

    @Comment("创建时间")
    private Long createTime;

    @Comment("关联资产名称")
    private String ciName;

    @Comment("关联资产分类名称")
    private String ciClassName;
}
